package com.firexxx.vp.application.dto;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotBlank;

/**
 * @description: TODO
 * @throws:
 * @author: zhuangzhang2
 * @date: 2019/12/25 11:03
 */
@Data
@ToString
public class StbDto extends BaseDto {

    @NotBlank
    private String channelId;
    private String stbId;
    private String mac;

    public StbDto(@NotBlank String traceId) {
        super(traceId);
    }

    public StbDto(@NotBlank String traceId, @NotBlank String channelId, String stbId, String mac) {
        super(traceId);
        this.channelId = channelId;
        this.stbId = stbId;
        this.mac = mac;
    }
}